#include <QDebug>

#include "testutils.h"
#include "../utils.h"
#include "../constants.h"

testUtils::testUtils()
{
    const QString remoateImage = "http://www.exylum.mydevil.net/firefox.jpg";
    const QUrl url(remoateImage);
    qDebug() << Jcr::Utils::fileExtFromUrl(url);
    qDebug() << Jcr::Utils::fileNameFromUrl(url);

    Jcr::Utils::makeDirectory("ducati", "monster");
    Jcr::Utils::fileExists(url, Jcr::LOGOROOT, "NewName");

    qDebug() << "Big image url: " << Jcr::Utils::bigImageLink(QUrl(Jcr::TESTIMAGEURL));
}

